keyboardNavigationClusterSearch
open fun keyboardNavigationClusterSearch(@NonNull view: View, @Nullable currentCluster: View, direction: Int): View(source)
Find the nearest keyboard navigation cluster in the specified direction. This does not actually give focus to that cluster.
Return
the nearest keyboard navigation cluster in the specified direction, or null
if one can't be found or if API <26.
Parameters
view
view on which to do the search.
currentCluster
The starting point of the search. null
means the current cluster is not found yet.
direction
Direction to look.